package cn.fjsay.java.demo2;

public class Test {
    public static void main(String[] args) {
        ComputerAverage calculator = new AverageCalculator();

        double[] scores = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100};
        double average = calculator.average(scores);

        System.out.println("平均分为: " + average);
    }
}